package cn.autumnorange.app.common.rpc.exception;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface JsonException {
  void jsonException(
      HttpServletRequest httpServletRequest,
      HttpServletResponse httpServletResponse,
      Exception e,
      int status)
      throws IOException;
}
